

#include <stdio.h>

int main(void){
	int student;
	printf("numbers:");
	scanf("%d", &student);
	if(student <= 0)
		return -1;

	double score[student];
	double total = 0.0;
	int i = 0;
	int max = 0;
	for(i = 0; i < student; i++){
		scanf("%lf", &score[i]);

		total += score[i];

		if(score[i] > score[max])
			max = i;
	}
	//for(int i = 0; i < student; i++)
	//	printf("%lf", score[i]);

	printf("%lf ", score[max]);
	printf("\n");
	return 0;
}

